<template>
	<view class="page">
		<view class="yinsi_cont">
			<view class="yinsi_box">
				<u-parse :tagStyle="style" :content="content"></u-parse>
			</view>
		</view>
	</view>
</template>

<script>
	import {
		get_about
	} from '@/api/index.js'
	export default {
		data() {
			return {
				content: '',
				style: {
					// 字符串的形式
					p: 'text-indent: 2em;;font-size:32rpx',
				}
			}
		},
		onLoad() {
			this.getabout()
		},
		methods: {
			getabout() {
				get_about({}).then(res => {
					if (res.code == 1) {
						this.content = res.data[0].desc
					}
					// console.log(res)
				})
			}
		}
	}
</script>

<style lang="scss">
	.page {
		background: white;
		min-height: 100vh;
	}

	.yinsi_cont {
		width: 100%;
		height: auto;
		overflow: hidden;
		padding: 0 30upx;

		.yinsi_tit {
			font-size: 40upx;
			font-weight: bold;

			color: #333333;
			display: block;
		}

		.yinsi_box {
			padding: 20upx 0;
			font-size: 30upx;
			color: #333;
			line-height: 56upx;
		}
	}
</style>
